package tests;

import utils.ClassDiagramFileReader;
import ClassPack.ClassDiagram;
import Composotion.MetaClassDiagramComposer;
import algorithms.PlainDumbGrader;

public class dr_seuss_simple {

	public static void main(String [] args ) {
		
		ClassDiagram cd1 = new ClassDiagramFileReader("Sam1.xml").CreateClassDiagram();
		ClassDiagram cd2 = new ClassDiagramFileReader("Sam2.xml").CreateClassDiagram();
		
		MetaClassDiagramComposer composer = 
			new MetaClassDiagramComposer();
		
		composer.addClassDiagram(cd1);
		composer.addClassDiagram(cd2);
		
		composer.addAlgorithm(0.5, new PlainDumbGrader());
		
		composer.CalcBaskets();
		composer.CreateClassDiagram();
		
		
		
		
		
	}
}
